package com.itheima.stock.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 个股交易流水行情数据
 */
@ApiModel(description = "Description: Author:yuyang Date:2024-04-29 Time:16:45")
@Data
public class StockScreenSecondDomain {
    //当前时间，精确到分
    @JsonFormat(pattern = "yyyy-MM-dd-HH:mm",timezone = "Asia/Shanghai")
    private Date date;

    //交易量
    private Long tradeAmt;

    //交易金额
    private BigDecimal tradeVol;

    //交易价格
    private BigDecimal tradePrice;
}